﻿using Collection.Interfaces;
using Collection.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Collection
{
    public class CollectionServiceFactory
    {
        /// 类目相关的数据库处理服务
        /// </summary>
        public readonly static ICatalogService CatalogService;

        /// <summary>
        /// 产品相关的数据库处理服务
        /// </summary>
        public readonly static IMerchandiseService MerchandiseService;

        /// <summary>
        /// 服务初始化
        /// </summary>
        static CollectionServiceFactory()
        {
            CatalogService = new CatalogService();
            MerchandiseService = new MerchandiseService();
        }
    }
}
